/**
 * Created by androidlongs on 2017/8/29.
 */

var isDubg = true;

//获取当前网址，如： http://localhost:8083/uimcardprj/share/meun.jsp
var curWwwPath = window.document.location.href;
//获取主机地址之后的目录，如： uimcardprj/share/meun.jsp
var pathName = window.document.location.pathname;
var pos = curWwwPath.indexOf(pathName);
//获取主机地址，如： http://localhost:8083
var localhostPaht = curWwwPath.substring(0, pos);
//获取带"/"的项目名，如：/uimcardprj
var projectName = pathName.substring(0, pathName.substr(1).indexOf('/') + 1);

var path = localhostPaht+projectName;

document.write("<script language=javascript src='"+path+"/admin/main/javascript/jquery.js'></script>")
document.write("<script language=javascript src='"+path+"/admin/base/common.js'></script>")
document.write("<script language=javascript src='"+path+"/admin/http/commonHttpHelper.js'></script>")
document.write("<script language=javascript src='"+path+"/admin/base/uploade_file.js'></script>")
document.write("<script language=javascript src='"+path+"/admin/base/cookie.js'></script>")
